package com.qingke.pms.app;

import com.qingke.pms.dao.ProjectManagementSystemDAO;
import com.qingke.pms.pojo.User;
import com.qingke.pms.pojo.UserLogin;

/**
 * Hello world!
 *
 */
public class App {
	public static void main(String[] args) {
		ProjectManagementSystemDAO dao=new ProjectManagementSystemDAO();
		UserLogin u=new UserLogin();
		u.setUsername("zjy4");
		u.setPassword("1");
		u.setIsAdministrator(false);
		User user=new User();
		user.setName("zjy");
		user.setPhone("18857120085");
		user.setEmail("664844970@qq.com");
		boolean b=dao.register(u, user);
		System.out.println(b);
	}
}
